<?php
require_once(dirname(__FILE__)."/config.php");
require_once(DEDEINC."/datalistcp.class.php");
setcookie("ENV_GOBACK_URL",GetCurUrl(),time()+3600,"/");
$mid  = $cfg_ml->M_ID;
if(empty($mid)){
	header("Location: /user/");
	exit();
}
$sql = "select a.*,b.typename,b.bigpic from #@__mytypestow a left join #@__arctype b on a.tid = b.id where a.mid = '$mid' order by a.time desc";
$dlist = new DataListCP();
$dlist->SetTemplate("templets/ke_shoucang.htm");
$dlist->SetSource($sql);
$dlist->pageSize = 6;
$dlist->Display();